package org.jeecg.modules.nurse_user.service.impl;

import org.jeecg.modules.nurse_user.entity.NurseUserSpecial;
import org.jeecg.modules.nurse_user.mapper.NurseUserSpecialMapper;
import org.jeecg.modules.nurse_user.service.INurseUserSpecialService;
import org.springframework.stereotype.Service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 用户优惠劵
 * @Author: jeecg-boot
 * @Date: 2024-06-09
 * @Version: V1.0
 */
@Service
public class NurseUserSpecialServiceImpl extends ServiceImpl<NurseUserSpecialMapper, NurseUserSpecial> implements INurseUserSpecialService {

    @Autowired
    private NurseUserSpecialMapper nurseUserSpecialMapper;

    @Override
    public List<NurseUserSpecial> selectByMainId(String mainId) {
        return nurseUserSpecialMapper.selectByMainId(mainId);
    }

    @Override
    public List<NurseUserSpecial> queryByNotExpire(String userId) {
        return nurseUserSpecialMapper.queryByNotExpire(userId);
    }
}
